package com.example.excelreader.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import lombok.Data;

/**
 * Excel文件的title
 */
@Data
public class ExcelEntity {

    // value是Excel中的列名
    @ExcelProperty(index = 0, value = "字段1")
    private String testOne;

    @ExcelProperty(index = 1, value = "字段2")
    private String test2;
}
